#include <stdio.h>
int arr[1005][1005];

int main(void) {
	int n, m;
	if (scanf("%d%d", &n, &m));
	for (int i = 0; i < n; i++)
		for (int j = 0; j < m; j++)
			scanf("%d", &arr[i][j]);
	for (int i = 0; i < n; i++) {
		int max = -2147483648, min = 2147483647, x = 0, y = 0, k;
		for (int j = 0; j < m; j++)
			if (max < arr[i][j]) {
				y = j;
				max = arr[i][j];
			}
		for (k = 0; k < n; k++)
			if (min > arr[k][y]) {
				x = k;
				min = arr[k][y];
			}
		if (i == x) {
			printf("Point:a[%d][%d]==%d\n", x, y, arr[x][y]);
			return 0;
		}
	}
	printf("No Point\n");
	return 0;
}